<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Menu?>
<?import javafx.scene.control.MenuBar?>
<?import javafx.scene.control.MenuItem?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.layout.VBox?>

<VBox alignment="TOP_CENTER" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" spacing="10.0" style="-fx-background-color: black;" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1" fx:controller="org.academiadecodigo.bootcamp.fxlogin.controller.BootcampCadetListController">
   <children>
      <MenuBar>
         <menus>
            <Menu mnemonicParsing="false" text="File">
               <items>
                  <MenuItem mnemonicParsing="false" onAction="#logout" text="Logout" />
               </items>
            </Menu>
         </menus>
      </MenuBar>
      <GridPane minHeight="120.0">
        <columnConstraints>
          <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
          <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
        </columnConstraints>
        <rowConstraints>
          <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
          <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
          <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
        </rowConstraints>
         <children>
            <Label text="Label" GridPane.halignment="RIGHT" GridPane.rowIndex="1" />
            <Label text="Label" GridPane.halignment="RIGHT" />
            <Label text="Label" GridPane.halignment="RIGHT" GridPane.rowIndex="2" />
         </children>
      </GridPane>
      <TableView fx:id="cadetList" maxHeight="-Infinity" maxWidth="-Infinity" onMouseClicked="#showCadetDetails" prefHeight="371.0" prefWidth="800.0" VBox.vgrow="ALWAYS">
         <columns>
            <TableColumn fx:id="name" editable="false" maxWidth="159.0" minWidth="50.0" prefWidth="159.0" text="Name" />
            <TableColumn fx:id="gender" editable="false" prefWidth="86.0" text="Gender" />
            <TableColumn fx:id="address" editable="false" prefWidth="151.0" text="Address" />
            <TableColumn fx:id="city" editable="false" minWidth="0.0" prefWidth="135.0" text="City" />
            <TableColumn fx:id="phone" prefWidth="135.0" text="Phone" />
            <TableColumn fx:id="birthdate" prefWidth="131.0" text="Birthdate" />
         </columns>
         <VBox.margin>
            <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
         </VBox.margin>
      </TableView>
      <Button mnemonicParsing="false" onAction="#goBack" text="back to Bootcamp list" />
   </children>
</VBox>
